home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Review 59 / PCR59.iso / scifi_2d / movies / shared.dir / 01625_memory scripts.ls < prev    next >
Encoding:
Text File  |  1995-06-25  |  4.0 KB  |  235 lines

  1. on MEM01
  2.   if the loaded of cast 1300 = 0 then
  3.     preLoadCast(1300)
  4.   end if
  5.   if the loaded of cast 110 = 0 then
  6.     preLoadCast(110)
  7.   end if
  8.   if the loaded of cast 109 = 0 then
  9.     preLoadCast(109)
  10.   end if
  11.   if the loaded of cast 1147 = 0 then
  12.     preLoadCast(1146)
  13.   end if
  14.   if the loaded of cast 397 = 0 then
  15.     preLoadCast(397)
  16.   end if
  17.   if the loaded of cast 2415 = 1 then
  18.     unLoadCast(2415)
  19.   end if
  20. end
  21.  
  22. on MEM01A
  23. end
  24.  
  25. on MEM02
  26.   unLoadCast(1300)
  27.   unLoadCast(110)
  28.   unLoadCast(109)
  29.   unLoadCast(1147)
  30.   unLoadCast(397)
  31.   preLoadCast(400, 410)
  32.   if the loaded of cast 112 = 0 then
  33.     preLoadCast(112)
  34.   end if
  35.   if the loaded of cast 114 = 0 then
  36.     preLoadCast(114)
  37.   end if
  38.   if the loaded of cast 116 = 0 then
  39.     preLoadCast(116)
  40.   end if
  41. end
  42.  
  43. on MEM03
  44.   if the loaded of cast 114 = 0 then
  45.     preLoadCast(114)
  46.   end if
  47.   if the loaded of cast 116 = 0 then
  48.     preLoadCast(116)
  49.   end if
  50. end
  51.  
  52. on MEM04
  53.   if the loaded of cast 112 = 0 then
  54.     preLoadCast(112)
  55.   end if
  56.   if the loaded of cast 116 = 0 then
  57.     preLoadCast(116)
  58.   end if
  59. end
  60.  
  61. on MEM05
  62.   if the loaded of cast 112 = 0 then
  63.     preLoadCast(112)
  64.   end if
  65.   if the loaded of cast 114 = 0 then
  66.     preLoadCast(114)
  67.   end if
  68. end
  69.  
  70. on MEM06
  71.   unLoadCast()
  72. end
  73.  
  74. on MEM07
  75.   unLoadCast()
  76. end
  77.  
  78. on MEM08
  79.   unLoadCast()
  80. end
  81.  
  82. on MEM50
  83.   if the loaded of cast 118 = 1 then
  84.     unLoadCast(118)
  85.   end if
  86.   if the loaded of cast 119 = 1 then
  87.     unLoadCast(119)
  88.   end if
  89.   if the loaded of cast 120 = 1 then
  90.     unLoadCast(120)
  91.   end if
  92.   if the loaded of cast 121 = 1 then
  93.     unLoadCast(121)
  94.   end if
  95. end
  96.  
  97. on MEM50A
  98.   set BioCast to the castNum of sprite 22
  99.   unLoad(BioCast)
  100.   unLoadCast(2)
  101. end
  102.  
  103. on MEM51
  104.   if the loaded of cast 122 = 1 then
  105.     unLoadCast(122)
  106.   end if
  107.   if the loaded of cast 123 = 1 then
  108.     unLoadCast(123)
  109.   end if
  110.   if the loaded of cast 124 = 1 then
  111.     unLoadCast(124)
  112.   end if
  113.   if the loaded of cast 125 = 1 then
  114.     unLoadCast(125)
  115.   end if
  116. end
  117.  
  118. on MEM51A
  119.   set artCast to the castNum of sprite 5
  120.   unLoad(artCast)
  121. end
  122.  
  123. on MEM52
  124.   global gVersion
  125.   set vidCasttt to the castNum of sprite 20
  126.   unLoad(vidCasttt)
  127.   unLoadCast(3)
  128.   unLoadCast(1400)
  129.   unLoadCast(1401)
  130.   unLoadCast(1404)
  131.   unLoadCast(1405)
  132.   MEM53()
  133.   if the loaded of cast 113 = 1 then
  134.     unLoadCast(113)
  135.   end if
  136.   if the loaded of cast 115 = 1 then
  137.     unLoadCast(115)
  138.   end if
  139.   if the loaded of cast 117 = 1 then
  140.     unLoadCast(117)
  141.   end if
  142. end
  143.  
  144. on MEM53
  145.   set y to 1690
  146.   repeat while y < 1850
  147.     if the castType of cast y = #digitalVideo then
  148.       if the loaded of cast y then
  149.         unLoadCast(y)
  150.       end if
  151.     end if
  152.     set y to y + 1
  153.   end repeat
  154. end
  155.  
  156. on MEM55
  157.   unLoadCast(1077)
  158.   unLoadCast(1091)
  159.   if the loaded of cast 126 = 1 then
  160.     unLoadCast(126)
  161.   end if
  162.   if the loaded of cast 127 = 1 then
  163.     unLoadCast(127)
  164.   end if
  165.   if the loaded of cast 128 = 1 then
  166.     unLoadCast(128)
  167.   end if
  168.   if the loaded of cast 129 = 1 then
  169.     unLoadCast(129)
  170.   end if
  171.   if the loaded of cast 130 = 1 then
  172.     unLoadCast(130)
  173.   end if
  174.   if the loaded of cast 131 = 1 then
  175.     unLoadCast(131)
  176.   end if
  177.   if the loaded of cast 132 = 1 then
  178.     unLoadCast(132)
  179.   end if
  180.   if the loaded of cast 133 = 1 then
  181.     unLoadCast(133)
  182.   end if
  183.   if the loaded of cast 134 = 1 then
  184.     unLoadCast(134)
  185.   end if
  186.   if the loaded of cast 135 = 1 then
  187.     unLoadCast(135)
  188.   end if
  189.   if the loaded of cast 136 = 1 then
  190.     unLoadCast(136)
  191.   end if
  192.   if the loaded of cast 137 = 1 then
  193.     unLoadCast(137)
  194.   end if
  195. end
  196.  
  197. on MEM100
  198.   unLoadCast()
  199.   preLoadCast(1001)
  200.   preLoadCast(1002)
  201.   preLoadCast(1078)
  202.   preLoadCast(1300, 1312)
  203.   preLoadCast(1314, 1317)
  204. end
  205.  
  206. on MEM101
  207.   global gBookNum
  208.   if gBookNum = 2 then
  209.     unLoadCast(35, 425)
  210.   end if
  211. end
  212.  
  213. on MEM102
  214.   unLoadCast(1002)
  215.   unLoadCast(1078)
  216. end
  217.  
  218. on mem999
  219.   global gVersion
  220.   if gVersion = 8 then
  221.     unLoadCast(1, 102)
  222.     unLoadCast(113)
  223.     unLoadCast(115)
  224.     unLoadCast(117, 137)
  225.     unLoadCast(266, 323)
  226.     unLoadCast(1996, 2077)
  227.   else
  228.     unLoadCast(113)
  229.     unLoadCast(115)
  230.     unLoadCast(117, 137)
  231.     unLoadCast(266, 323)
  232.     unLoadCast(1996, 2077)
  233.   end if
  234. end
  235.